
if TUNING.NPC_CHAT_TABLE == nil then
    TUNING.NPC_CHAT_TABLE = {}
end

local this_language = "ch"
if TUNING.__NPC_LANGUAGE then
    if type(TUNING.__NPC_LANGUAGE) == "function" and TUNING.__NPC_LANGUAGE() ~= this_language then
        return
    elseif type(TUNING.__NPC_LANGUAGE) == "string" and TUNING.__NPC_LANGUAGE ~= this_language then
        return
    end
end

TUNING.NPC_CHAT_TABLE[this_language] = {
    -----------------------------------------------------------------------------------------------------------------
    ["spell_reject_the_npc"] = {
        ["Production_Column_name"] = "赶走NPC",
        ["Production_Column_desc"] = "尝试让当前NPC离开",
        ["success"] = {"你试着让附近的伙计离你远点。","这个冒险家决定去找别人去了。"},
        ["failure"] = {"你尝试让附近的冒险家离开，但是失败了。","这家伙缠上你了，躲不掉的。"},
    },
    -----------------------------------------------------------------------------------------------------------------
    
    -----------------------------------------------------------------------------------------------------------------
    ["npc_event_give_basic_supplies"] = {
        ["those_are_for_you"] = "这些给你"
    },
    ["npc_event_ghost"] = {
        ["those_are_for_you"] = "这些给你",
        ["time_out"] = "我去找别人了"
    },
    ["npc_event_thief"] = {
        ["hahaha"] = "啊 哈 哈 哈 ~",
        ["Announce_succeed"] = "这个家伙拿走了你的【XXXXXXX】，然后一路“啊哈哈哈哈~”地跑了。",
        ["Announce_failed"] = "这个家伙拿走了你的的理智，然后一路“啊哈哈哈哈~”地跑了。",
        ["box_name"] = "捣蛋者的箱子",
        ["box_inspect"] = "里面都是被拿走的东西，除了理智",
    },
    ["npc_event_minifan"] = {
        ["let_us_play_minifan"] = "我们一起玩小风车吧",
        ["hahaha"] = "哈哈哈 ~",
        ["happy"] = "我玩得很高兴",
        ["it_is_for_you"] = "这个给你",
        ["gift_name"] = "好朋友礼物盒"
    },
    ["npc_event_freeze"] = {
        ["hahaha"] = "哈 哈 哈 ~"
    },
    ["npc_event_deal_with_bat"] = {
        ["it_is_for_you"] = "这个给你",
        ["too_late"] = "太迟了，我走了",
    },
    ["batbat_upgrade_boss"] = {
        ["worng_boss"] = {"不是这个目标", "你会后悔的"},
        ["announce"] = "触碰到了自己喜欢的目标，然后带走了XXXX和目标的性命。",
        ["ask_for_target"] = {"我想打这个","带我去打这个吧","求你了，带我去打这个吧","我只喜欢这个BOSS"},
    },
    ["hammer_upgrade_mole"] = {
        ["ask_for_target"] = {"我想打鼹鼠","用我去打鼹鼠吧","求你了，带我去打鼹鼠吧","我只喜打鼹鼠"},
        ["worng_target"]    = {"不是这个！","这个不是我想要的","鼹鼠在那边！"}
    },
    ["npc_event_meteor"] = {
        ["aaaaaaaaaa"]    = {"啊 啊 啊 啊 ~","快跑！","不要停啊！！"},
        ["no_no_no"] = {"别跟着我！","你干了什么？！","啊 啊 啊 啊 ~","不要跟着我！！！","离我远点！！"},
    },
    ["npc_event_ask_for_razor"] = {
        ["razor_say"] = {"太恐怖了","下次不要再让我那么做了","我从来没想过会是那样"},
        ["announce"] = "你不会想知道他刚刚用剃刀刮了身上的哪个位置。",
        ["too_late"] = "我去找别人了"
    },
    ["npc_event_bushhat"] = {
        ["those_are_for_you"] = "这些给你",
        ["too_late"] = "太迟了，我走了",
    },
    ["npc_item_tree_trade_station"] = {
        ["Production_Column_name"] = "乌鸦商队栖息树",        ----- 制造栏里的名字
        ["Production_Column_desc"] = "乌鸦商队的休息站，每天都有新商队来这里临时驻扎。",   --- 制造栏里的内容
        ["tree_name"] = "乌鸦商队栖息树",
        ["inspect_str"] = "乌鸦商队的休息站，每天都有新商队来这里临时驻扎。",
        ["kit_inspect_str"] = "制造一个乌鸦商队休息站",
        ["announce"] = "你终于凑够买乌鸦商队栖息站了，挺不容易吧？",
    },
    ["npc_event_fishbowl"] = {
        ["event_announce"]  = "一个小鱼缸从天而降，里面有条可爱的小鱼。",
        ["inspect_str"] = "一条很可爱的小鱼，渴望人类的精美料理。",
        ["ask_for_food"] = {
            "我最喜欢人类的料理了","烹饪出来的食物太美味了","快给我更多吃的","我饿了，但我很挑食","料理，料理，料理，料理！！","我还要更多料理","你能为我烹饪更多料理吗？"
        },
        ["shark_announce"] = "哈哈，喂太多了吧。",
        ["fishbowl_for_food"] = {"啊哈！聪明的决定，你是怎么知道可以让它们自相残杀的？","啊哈，极其聪明的决定，鹬蚌相争渔翁得利。","有趣的决定，你确定你没有去翻看源代码？"}
    },
    ["npc_event_maxwell_and_shadow"] = {
        ["time_out"] = "算你跑得厉害",
        ["hahaha"] = "啊 哈 哈 哈 哈 ~",
        ["kill_announce"] = "死于特殊的暗影魔法",
    },
    ["npc_event_livingtrees"] = {
        ["time_out"] = "算你跑得厉害",
        ["hahaha"] = "啊 哈 哈 哈 哈 ~",
        ["tree_name"] = "禁锢之树",
        ["tree_root_name"] = "禁锢之树根"
    },
    ["npc_event_trident"] = {
        ["found_trident"] = "我得到个特别的三叉戟",
    },
    ["npc_event_telestaff"] = {
        ["found_things"] = "我找到些东西，带你过去吧。",
    },
    ["npc_event_clockwork_guard"] = {
        ["tree_name"] = "发条守卫站",
        ["inspect_str"] = "这是个发条守卫站点，保卫附近区域不被怪物入侵。",
        ["kit_inspect_str"] = "设置一个发条守卫站点，保卫区域不被怪物入侵。",
        ["event_announce"] = "一个特殊的营地守卫从天而降，这下你可以保护你营地的安全了。",
    },
    ["npc_event_wolfgang_and_horn"] = {
        ["time_out"] = "我得走了~",
        ["warm_up_exercise"] = "我们来场热身运动吧",
    },
    ["npc_event_butterflies"] = {
        ["time_out"] = "我得走了~",
        ["bugnet"] = "我们来抓蝴蝶吧",
    },    
    ["npc_event_catch_game"] = {
        ["catch_game_gift_box_name"] = "天降的礼物盒",
        ["inspect_str"] = "最好找个空地再打开",
        ["kill_announce"]   = "喔 ~ ~ 真倒霉，居然被东西砸死了。",
        ["event_announce"] = "天上掉下个特别的礼物盒，你最好找个空地和朋友一起打开。"
    },
    ["npc_event_pigman_arena"] = {
        ["coin_name"] = "猪人竞技场开场硬币",
        ["inspect_str"] = "最好找个空地再打开",
        ["spell_failed"] = "你需要更空旷的地方才能开场。",
        ["success"] = "恭喜冒险家们，通过了竞技场",
        ["success_half"]   = "真可惜，冒险家们中途失败了。不过他们还是可以通过寻找场地中的【重生护符】来复活。",
        ["failure"] = "竟然一个都没通过？！是不是没做好准备就开始挑战了？",
        ["announce"]  = "异界的猪王派出的使者出现在你身旁，并向你发出了挑衅。"
    },
    ["npc_event_treasure_map"] = {
        ["map_name"] = "藏宝图",
        ["inspect_str"] = "宝藏？还是陷阱？",
        ["box_name"] = "奇特的箱子",
        ["inspect_str_box"] = "宝藏？还是陷阱？最好小心点打开。",
        ["monster"] = "这是个陷阱！！希望你能逃脱这场灾难。",
        ["event_announce"] = "一张藏宝图从天而降。",
        ["first_open_announce"] = "你最好带着地图一同前往"
    },
    ["npc_event_trick_or_treat_from_wortox"] = {
        ["hahaha"] = "哈 哈 哈 哈 哈 哈 ~"
    },
    ["npc_event_gift_from_wanda"] = {
        ["pocketwatch_name"] = "疾走的钟表",
        ["inspect_str"] = "旺达的疾走钟表，走得越快越容易饿",
        ["this_is_for_you"] = "这个给你，节省跑路时间",
    },    
    ["npc_event_gift_from_walrus"] ={
        ["it_is_for_you"] = "这个给你",
    },
    ["npc_event_wurt_hiding_box"] ={
        ["box_name"] = "可疑的箱子",
        ["inspect_str_box"] = "这箱子很可疑",
        ["say"] = {"吓死我了","我在箱子里躲避怪物","这世界太危险了"},
        ["those_are_for_you"] = "这些给你"
    },
    ["npc_event_wortox_from_portal"] = {
        ["wilson"] = {"这个还给你","应该还能用"},
        ["other"] = {"这个是我从威尔逊那拿的","现在送给你"},
    },
    ["npc_event_trick_or_treat_from_wilton"] = {
        ["hahaha"] = "啊 啊 啊 啊 啊 啊 啊 啊",
        ["player_say"] = "？ ？ ？ ？ ？ ？ ？ ？ ？ ？ ？"
    },
    -----------------------------------------------------------------------------------------------------------------
    ------ 定制物品 或 物品升级类
    ["nightsword_upgrade"] = {
        ["name_blood"] = "血腥暗影",
    },
    ["flowerhat_upgrade"] = {
        ["name_flower_step"] = "沃姆伍德的祝福花环",
    },

    ["cane_upgrade"] = {
        ["name_fireflies"] = "萤火虫手杖",
        ["name_erode"] = "侵蚀手杖"
    },
    ["npc_item_magic_tophat"] = {
        ["name"] = "特制的魔术高礼帽",
        ["inspect_str"] = "有了这个，人人都能当魔术师了",
        ["action_str"] = "打开",
        ["announce"] = "这笔钱难凑吧？",
        ["recipe_desc"] = "这帽子很贵，但是容量很充足。"
    },
    ["npc_item_walrus_camp"] = {
        ["name"] = "海象人的魔法房子",
        ["inspect_str"] = "带魔法的海象人房子",
        ["recipe_desc"] = "带冰雪魔法的海象人房子,可以永久保鲜食物"
    },
    ["npc_item_red_portal"] = {
        ["name"] = "恶魔传送门",
        ["inspect_str"] = "这个门正在吸取周围的灵魂，里面应该有很多恶魔",
    },
    ["npc_item_wortox_hambat"] = {
        ["name"] = "味道奇怪的火腿棒",
        ["inspect_str"] = "感觉还会被恶作剧",
        ["go_worng"] = "这火腿不太对劲",
        ["announce"] = "这火腿果然不对劲",
    },
    ["npc_item_dining_table"] = {
        ["name"] = "餐桌订单套件",
        ["inspect_str"] = "准备上餐的桌子",
        ["button_text"] = "上餐",
    },
    ["npc_item_goldnugget_coin"] = {
        ["name"] = "特制魔法金币",
        ["inspect_str"] = "带一点点魔法，可以用来和商人进行贸易或兑换",
    },
    ["npc_item_woodlegs_cage"] = {
        ["name"] = "笼子",
        ["inspect_str"] = "里面关着.....一个海盗？",
        ["say"] = {"求你了，放我出去","救命啊！","我再也不那样干了","帮帮我","钥匙在BOSS们身上"},
        ["key1"] = "骨制钥匙",
        ["key2"] = "金制钥匙",
        ["key3"] = "铁制钥匙",
        ["key_inspect_str"] = ",打开地下那个笼子用的",
        ["key_inspect_str_no_use"] = ",已经没用了,拿去回收应该很值钱",
        ["unlock_say"] = "终于出来了，谢谢你"
    },
    ["npc_item_woodlegs_tent"] = {
        ["name"] = "老海盗的帐篷",
        ["inspect_str"] = "他之前是为什么被关笼子里的？",
        ["inspect_str_item"] = "和这家伙在一起安全吗？",
        ["button_text"] = "补给",
        ["Waiting.onpickup"] = "我过段时间再过去",
        ["Waiting.player"] = {"我能去你的营地吗？","我想找个伴","我觉得我们可以驻扎在一起"},
        ["Waiting.attacked"] = {"如果打我很消气的话，尽管打吧","打我的手感很不错吧","我就是因为太耐揍了才被关的"},
        ["Waiting.attacked.2"] = {"唉呀妈呀","我错了","别把我再关笼子里了"},
        ["Waiting.inspect"] = "这家伙好像除了耐揍，没其他优点了",
        ["Waiting.attacke_name"] = "耐揍的伍德莱格",
        ["Waiting.attacke_name.2"] = "欠揍的伍德莱格",
        ["Waiting.start_travel"] = {"冲呀 ~","冲鸭 ~","出发！！","大海在呼唤我！"},
        ["box.name"] = "出海战利品",
        ["box.inspect"] = "里面都有些什么东西？",
        ["box.announce"]    = "伍德莱格带着他的航海战利品回来了",
        ["Instructions"] = "这个帐篷只能放在绚丽之门或者营地附近，如果不慎丢失，老海盗会重新在绚丽之门那等你。"
    },
    ["npc_item_no_discounts_amulet"] = {
        ["name"] = "无折扣项链",
        ["inspect_str"] = "戴上这个会丢掉建造制作的折扣",
        ["recipe_desc"] = "请脱下建造护符\n或者请尝试佩戴这个项链"
    },
    ["npc_item_transform_compass"] = {
        ["name"] = "一次性传送指南针",
        ["inspect_str"] = "传送到最近的绚丽之门，紧急传送用。也可用来救援。",
    },
    ["npc_item_risk_taker_tent"] = {
        ["name"] = "遇险者的帐篷",
        ["inspect_str"] = "还好有这个，不然更容易死翘翘",
        ["announce"] = {"洞穴深处传来呼救声","有人洞穴遇险了","洞穴深处传来惨叫声"},
        ["thanks"] = "终于有人来救我了",
        ["it_is_for_you"] = "这个给你",
        ["wisper"] = "这个可怜的家伙需要一个带魔法的指南针，那个商人处有售卖。",
    },
    ["npc_item_cards_station"] = {
        ["name"] = "海象人卡牌店",
        ["inspect_str"] = "海象人卡牌店，可以试试手气",
        ["recipe_desc"] = "海象人卡牌店，可以试试运气如何",

        ["npc_card_spring"] = "春天到了，注意下雨。",
        ["npc_card_summer"] = "夏天到了，到处都是火辣辣的。",
        ["npc_card_autumn"] = "秋天到了，一片成熟的气氛。",
        ["npc_card_winter"] = "冬天到了，你做好抗寒的准备了吗？",
        ["npc_card_meteorite"] = "这下你知道为什么有人被陨石追了吧。",
        ["npc_card_reaper"] = "倒霉地抽到了死神卡，被死神收割了。",
        ["npc_card_teleportation.ocean"] = "XXXX倒霉地抽到了传送卡，并且更倒霉地被传送到了海上。",
        ["npc_card_lightning"] = "但愿你有避雷的措施",
        ["npc_card_bottle_with_coin"] = "最好你手上也有一个一样的瓶子",

    },
    ["npc_item_rainbow_horn"] = {
        ["name"] = "玩具·彩虹号角",
        ["inspect_str"] = "吹响号角，彩虹出现",
        ["recipe_desc"] = "吹响号角，附件所有人都能得到彩虹。也能用来复活自己或他人。",
    },
    ["npc_item_frozen_npc"] = {
        ["inspect_str"] = "倒霉的家伙，需要其他人帮一下",
        ["name"] = "被冻住的",
        ["Say"] ={"终于出来了","谢谢你","这个送你"},
    },

    ["npc_item_bottle_with_coin"] = {
        ["name"] = "瓶中币",
        ["inspect_str"] = "瓶子特别坚固，底部写着：瓶子敲瓶子才能打开",
    },

    ["npc_item_cards_experience_pack"] = {
        ["name"] = "体验卡组",
        ["inspect_str"] = "你最好做好充分的准备再使用",
    },

    -----------------------------------------------------------------------------------------------------------------
    ["npc_names_and_inspect"] = {
        ["wilson"] = {            name = "威尔逊",            inspect = "一个疯狂科学家",        },
        ["willow"] = {            name = "薇洛",            inspect = "她对火焰有着病态的迷恋",        },
        ["wolfgang"] = {            name = "沃尔夫冈",            inspect = "头脑简单、四肢发达的大力士",        },
        ["wendy"] = {            name = "温蒂",            inspect = "她总是把各种事物同死亡联系起来",        },
        ["wx78"] = {            name = "WX-78",            inspect = "看起来像是没有灵魂的机器人",        },
        ["wickerbottom"] = {            name = "薇克巴顿",            inspect = "她看起来很有学问",        },
        ["woodie"] = {            name = "伍迪",            inspect = "一个受到诅咒的俗气加拿大伐木工",        },
        ["wes"] = {            name = "韦斯",            inspect = "一个脆弱而善良的法国默剧演员",        },
        ["waxwell"] = {            name = "麦斯威尔",            inspect = "他曾是梦魇王座的主人,永恒领域的前任统治者",        },
        ["wathgrithr"] = {            name = "薇格弗德",            inspect = "一个.....女武神？",        },
        ["webber"] = {            name = "韦伯",            inspect = "小男孩？蜘蛛？",        },
        ["winona"] = {            name = "薇诺娜",            inspect = "她看起来很擅长修理",        },
        ["warly"] = {            name = "沃利",            inspect = "一个风趣的厨师",        },
        ["walter"] = {            name = "沃尔特",            inspect = "这地方居然有童子军",        },
        ["wonkey"] = {            name = "芜猴",            inspect = "它是被变成猴子的？",        },

        ["wanda"] = {            name = "旺达",            inspect = "她的年龄怎么忽上忽下的？",        },
        ["wormwood"] = {            name = "沃姆伍德",            inspect = "植物？",        },
        ["wortox"] = {            name = "沃拓克斯",            inspect = "一个顽皮的小恶魔",        },
        ["wurt"] = {            name = "沃特",            inspect = "从没见过这么友好的鱼人",        },

        ["wagstaff"] = {            name = "瓦格斯塔夫",            inspect = "一个更加疯狂的科学家",        },
        ["woodlegs"] = {            name = "伍德莱格",            inspect = "经验老道的海盗船长",        },
        ["walani"] = {            name = "瓦拉尼", },
        ["wilba"] = {            name = "薇尔芭",            inspect = "她在月圆夜会发疯吗？",        },
        ["wheeler"] = {            name = "薇勒尔",            inspect = "她是个探险家？",        },

        ["wilton"] = {            name = "骷髅",            inspect = "？？？？？？？",        },

    },
    -----------------------------------------------------------------------------------------------------------------
    ----------- 贸易集群事件文本
    ["npc_event_item_buyer"] = {
        ["action_str_table"] = {REFUSED= "无法标记这个",NODATA = "没有数据",NON_SALE_ITEM = "不会有人想要这个",SELLING = "已经标记出售了"},
        ["action_str"] = "出售这个",
        ["inspect_str"] = "插上牌子，以示出售此物",
        ["announce"] = {"有位买家看上了你的东西。","有位买家慕名而来。","您有新的买家出现，请注意接待。"},
        ["Instructions"] = "现在你只需要等待上门购买这个的买家到来就行了。",

        ["pigman_name"] = "异界中介商人",
        ["inspect_str_pigman"] = "永恒领域里少见的中介商人，知道怎么和其他世界的冒险家交易",
        ["first_gift"] = "啊 ~ 冒险家，我这有礼物送你。",
        ["filter_text"] = "中介内容",
        ["gift_pack.name"] = "来自异界的礼物",
        ["gift_pack.inspect_str"] = "打开它",

        ["cart_name"]   = "回收小推车",
        ["cart_inspect_str"] = "商人用于回收物资用的小推车",
        ["recycle_exchange"] = "这是回收折算的价格",
        ["recycle_exchange_announce"] = "回收物资已结算完毕,请前往商人处领取结算金。",

        ["chesspiece"] = {"这个雕像很精美，我很喜欢","我喜欢你做的雕像","这雕像太宏伟了，我买了","我正缺一个这样的雕像"},
        ["name_chesspiece"] = "雕像出售牌",
        ["recipe_desc_chesspiece"] = "标记要出售的雕像",

        ["glass"]   = {"这个玻璃好精致","我找这个好久了"},
        ["name_glass"] = "玻璃制品出售牌",
        ["recipe_desc_glass"] = "标记要出售的玻璃制品",
        
        ["veggie"] = {"这东西我垂涎很久了","这么大够我吃好些日子了","我怎么努力都种不出这么大的"},
        ["name_veggie"] = "巨型植物出售牌",
        ["recipe_desc_veggie"] = "标记要出售的巨大种植物",

        ["house"] = {"我觉得这房子很合适我","这房子很漂亮","这房子我买了"},
        ["name_house"] = "房屋出售牌",
        ["recipe_desc_house"] = "标记出售由玩家制造的猪人或者兔子房屋，或者海象人房屋。",
        
        ["sunkenchest"] = {"这箱子我要了","我很喜欢开宝箱","这箱子我买了"},
        ["name_sunkenchest"] = "沉底宝箱出售牌",
        ["recipe_desc_sunkenchest"] = "标记要出售的沉底宝箱，总有人特别喜欢开箱子。",

        ["shell_cluster"] = {"这些贝壳我很喜欢","我找这些好久了"},
        ["name_shell_cluster"] = "贝壳堆出售牌",
        ["recipe_desc_shell_cluster"] = "标记要出售的贝壳堆",

        ["birdcage"] = {"这鸟笼我喜欢","这鸟笼很别致","真希望里面有只小鸟"},
        ["name_birdcage"] = "鸟笼出售牌",
        ["recipe_desc_birdcage"] = "标记要出售的鸟笼，最好里面有只小鸟一起出售",
        ["birdcage_reset_chat"] = {"这小鸟我特喜欢","这小鸟聪明伶俐，我喜欢","小鸟的羽毛很漂亮"},

        ["name_lucky_goldnugget_exchange"] = "幸运黄金兑换成黄金",
        ["recipe_desc_lucky_goldnugget_exchange"] = "幸运黄金1:1兑换成黄金",

        ["dining_table"] = {"我等这顿大餐很久了","这顿大餐终于有人做出来了","你有加额外的调料吗？","我一直在等这顿丰盛的大餐"},
        ["name_dining_table"] = "餐桌订单套件",
        ["recipe_desc_dining_table"] = "永恒领域里的食物订单套件，如果食物加了调料，顾客应该会更高兴。",

        ["name_goldnugget_coin"] = "特制魔法金币兑换",
        ["recipe_desc_goldnugget_coin"] = "金块兑换成特制魔法金币",
        ["name_goldnugget_coin_exchange"] = "特制魔法金币兑换成金块",
        ["recipe_desc_goldnugget_coin_exchange"] = "有那么一丢丢手续费",
    },
    -----------------------------------------------------------------------------------------------------------------
}